NAND gate

If any input on the NAND gate is '0', the output will be '1'.

Truth table for a 2-input NAND gate:

Input 1 Input 2 Output
0 0 1
0 1 1
1 0 1
1 1 0

See also: